package com.sp.scmdb.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.sp.scmdb.common.DomainObject;

@Entity
@Table(name = "OBJ_DEPARTMENT")
public class Department extends DomainObject {

	@Column(name = "deptName", nullable = false)
	private String deptName;
	
	@Column(name = "sortindex")
	private Integer sortindex;
	

	public Integer getSortindex() {
		return sortindex;
	}

	public String getDeptName() {
		return deptName;
	}



	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}
}
